package cn.beatuty.makeup.module.system.controller.admin.shoppingcart.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 购物车 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ShoppingCartRespVO {

    @Schema(description = "购物车项的唯一标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "4314")
    @ExcelProperty("购物车项的唯一标识")
    private Integer id;

    @Schema(description = "商品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("商品名称")
    private String productName;

    @Schema(description = "商品图片")
    @ExcelProperty("商品图片")
    private String productImage;

    @Schema(description = "商品规格")
    @ExcelProperty("商品规格")
    private String productSpecification;

    @Schema(description = "商品数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("商品数量")
    private Integer quantity;

    @Schema(description = "商品价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "5942")
    @ExcelProperty("商品价格")
    private String price;

    @Schema(description = "支付状态，1待支付、2已支付或3已取消", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("支付状态，1待支付、2已支付或3已取消")
    private String paymentStatus;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    private Long productId;

    private String cartCode;

}